package com.cs.vo;

import com.cs.domain.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "菜单和权限的包装对象")
public class MenuAuthVo {
    /**
     * 用户的权限
     */
    @ApiModelProperty(value = "用户的权限")
    private List<String> authorities;

    /**
     * 菜单
     */
    @ApiModelProperty(value = "用户的菜单")
    private List<SysMenu> menuList;

}
